//
//  YaoQingTableViewCell.m
//  BeautyPicture
//
//  Created by LiuNa on 16/3/9.
//  Copyright © 2016年 szb. All rights reserved.
//

#import "YaoQingTableViewCell.h"

@implementation YaoQingTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.Day = [[UILabel alloc] init];
        self.Day.font = [UIFont systemFontOfSize:13];
        self.Day.textColor = [UIColor grayColor];
        [self.contentView addSubview:self.Day];
        
        self.neiRong = [[UILabel alloc] init];
        self.neiRong.textAlignment = 1;
        self.neiRong.numberOfLines = 0;
        self.neiRong.font = [UIFont systemFontOfSize:13];
        self.neiRong.textColor = [UIColor grayColor];
        [self.contentView addSubview:self.neiRong];
        
        self.number = [[UILabel alloc] init];
        self.number.font = [UIFont systemFontOfSize:13];
        self.number.textColor = BPGlobaThemeColor;
        [self.contentView addSubview:self.number];
        
    }
    return self;
}

- (void)layoutSubviews{
    [super layoutSubviews];
    self.Day.frame = CGRectMake(10, 5, 80, 30);
    self.neiRong.frame = CGRectMake(self.contentView.frame.size.width / 2 - 50, 5, 85, 40);
    self.number.frame = CGRectMake(self.contentView.frame.size.width - 50, 5, 100, 30);
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
